import { IS_PROD } from '../../../config/index.js'

export default (configuration) => {
  if (IS_PROD) {
    return {}
  } else {
    const LOGIN_URL = configuration.systemManage.apiServer.BASE_URL
    return {
      login: LOGIN_URL + '/authorize/login',
      userInfo: LOGIN_URL + '/system/users/info'
    }
  }
}
